import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {SysRegionSelectAlainComponent} from './sys-region-select-alain.component';
import {DelonFormModule, WidgetRegistry} from '@delon/form';
import {FormsModule} from '@angular/forms';
import {SysRegionSelectModule} from '../sys-region-select/sys-region-select.module';


@NgModule({
    declarations: [SysRegionSelectAlainComponent],
    imports: [
        CommonModule,
        DelonFormModule,
        FormsModule,
        SysRegionSelectModule
    ],
    exports: [SysRegionSelectAlainComponent],
    entryComponents: [SysRegionSelectAlainComponent]
})
export class SysRegionSelectAlainModule {
    constructor(widgetRegistry: WidgetRegistry) {
        widgetRegistry.register(SysRegionSelectAlainComponent.KEY, SysRegionSelectAlainComponent);
    }
}
